home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / game / patch / ReLock.lha / ReLock / ReLock.readme < prev    next >
Encoding:
PGP Message  |  1999-07-05  |  1.8 KB  |  54 lines

  1. -----BEGIN PGP SIGNED MESSAGE-----
  2. Hash: SHA1
  3.  
  4. Short:    Makes MuFS (+ others) accept weird locks
  5. Uploader: nybo@softhome.net (Martin Nybo Andersen)
  6. Author:   nybo@softhome.net (Martin Nybo Andersen)
  7. Type:     game/patch
  8. Requires: OS 2.0 (V36)
  9. Version:  1.31
  10. __________________________________________________________________________________
  11.  
  12. Ever wanted to use AMOS on a MultiUserFS partition?
  13. Ever wanted to play Worms(DC) on a MultiUserFS partition?
  14. And what about all the other progs, which can't get files stored on your MuFS
  15. partition?
  16.  
  17. - - Here's the fix..!
  18.  
  19. - - - ---
  20.  
  21. Background:
  22.  
  23. AmigaDOS has a function to lock a file to prevent it from being altered while a
  24. program uses it. This lock can be defined in two ways:
  25.  
  26.  1: Shared    - for reading - ($fffffffe, or -2 for ordinary humans... :)
  27.  2: Exclusive - for writing - ($ffffffff, or -1 for ordinary humans... :)
  28.  
  29. Now there's just one little problem:
  30. What about all the other 4294967294 (2³²-2) different possibilities when using a
  31. 32bit integer?
  32.  
  33. FastFileSystem assumes that if it isn't an exclusive lock it must be a shared one.
  34. MultiUserFileSystem, on the other hand, concludes that if it isn't an exclusive or
  35. a shared lock, it simply can't be a valid lock.
  36.  
  37. MuFS's conclusion is perfectly okay, if it haven't been for all those dumb coders
  38. with too much lumpy gravy for brains --- FIX YOUR CODE NOW!!!
  39.  
  40. This little patch makes all filesystems act like FFS when dealing with locks.
  41.  
  42. - - - -Martin   http://www.amiga.dk/nybo    nybo@softhome.net
  43. __________________________________________________________________________________
  44.  
  45. -----BEGIN PGP SIGNATURE-----
  46. Version: PGPfreeware 5.0i for non-commercial use
  47. Comment: PGP 5 - Generated on an Amiga computer!
  48. Charset: noconv
  49.  
  50. iQA/AwUBN3/oa9nNDa/JjIIfEQILjgCg9wGMdNLfOUgHogBwlcZDdo7v+usAn0Qr
  51. YH1yfJhys3siAk8C9JgND9hM
  52. =cywt
  53. -----END PGP SIGNATURE-----
  54.